#ifndef QAVVIDEOBUFFER_GPU_P_H
#define QAVVIDEOBUFFER_GPU_P_H

#include "qavvideobuffer_p.h"
#include "qavvideobuffer_cpu_p.h"

QT_BEGIN_NAMESPACE

class QAVVideoBuffer_GPU : public QAVVideoBuffer
{
public:
    QAVVideoBuffer_GPU() = default;
    explicit QAVVideoBuffer_GPU(const QAVVideoFrame &frame) : QAVVideoBuffer(frame) { }
    ~QAVVideoBuffer_GPU() = default;

    QAVVideoFrame::MapData map() override;

protected:
    QAVVideoBuffer_CPU m_cpu;
};

QT_END_NAMESPACE

#endif
